package com.fruit.pojo.user.sysmsg;

import java.io.Serializable;
/**
 * 站内消息POJO
 * @author Administrator
 *
 */
public class SysMessage implements Serializable {
    private Long id;

    private String title;

    private String content;

    private Integer userId;

    private String type;

    private String state;

    private String createTime;

    private String updateTime;
    
    private String msgType;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
    
    public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	@Override
    public String toString() {
    	StringBuffer str=new StringBuffer();
    	str.append("[");
    	str.append("id="+id);
    	str.append(",title="+title);
    	str.append(",content="+content);
    	str.append(",userId="+userId);
    	str.append(",type="+type);
    	str.append(",msgType="+msgType);
    	str.append(",state="+state);
    	str.append(",createTime="+createTime);
    	str.append(",updateTime="+updateTime);
    	str.append("]");
    	return str.toString();
    }
}